package com.xueyi.system.plantRaising.service.impl;

import com.xueyi.system.plantRaising.domain.query.PlantRaisingQuery;
import com.xueyi.system.plantRaising.domain.dto.PlantRaisingDto;
import com.xueyi.system.plantRaising.service.IPlantRaisingService;
import com.xueyi.system.plantRaising.manager.IPlantRaisingManager;
import com.xueyi.common.web.entity.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 育苗定植管理 服务层处理
 *
 * @author zlf
 */
@Service
public class PlantRaisingServiceImpl extends BaseServiceImpl<PlantRaisingQuery, PlantRaisingDto, IPlantRaisingManager> implements IPlantRaisingService {

    /**
     * 查询育苗定植对象列表 | 数据权限 | 附加数据
     *
     * @param plantRaising 育苗定植对象
     * @return 育苗定植对象集合
     */
    @Override
    //@DataScope(userAlias = "createBy", mapperScope = {"PlantRaisingMapper"})
    public List<PlantRaisingDto> selectListScope(PlantRaisingQuery plantRaising) {
        return baseManager.selectListExtra(plantRaising);
    }

}